import {Search} from '@/components';
import {Box, Image} from 'native-base';
import React from 'react';
import {SafeAreaView} from 'react-native-safe-area-context';

const Leisure = () => {
  const image = require('@/assets/images/game.png');
  return (
    <SafeAreaView style={{flex: 1}} edges={['top', 'left', 'right']}>
      <Box w="full" h="full">
        <Search />
        <Image source={image} alt="图片" flex={1} resizeMode="stretch" />
      </Box>
    </SafeAreaView>
  );
};

export default Leisure;
